package cn.b.sky.mes.mm.model;

import java.io.Serializable;

import cn.b.sky.common.model.ImeCommon;
import org.apache.commons.lang3.StringUtils;

/**
 * 
 * <strong>Title : InventoryAlarmRecipient.java<br></strong>
 * <strong>Package : cn.b.sky.mes.mm.model<br></strong>
 * <strong>Description : </strong>库存报警接收人<br> 
 * <strong>Create on : 2016年3月1日 下午1:35:22<br></strong>
 * <p>
 * @author dapeng.li<br>
 * @version <strong>v1.0.0</strong><br>
 * <br> 
 * <strong>修改历史:</strong><br>
 * 修改人    |    修改日期    |    修改描述<br>
 * -------------------------------------------<br>
 * <br>
 * <br>
 */
public class InventoryAlarmRecipient extends ImeCommon implements Serializable {
  /** 
  * @Fields serialVersionUID : 序列化
  * @creator     :dapeng.li
  */
  private static final long serialVersionUID = 6861268368486772479L;

  /**
   * 主键
   */
  private Long id;

  /**
   * 用户编号
   */
  private String userCode;

  /**
   * 用户描述
   */
  private String userText;

  /**
   * 库位编号
   */
  private String storageLocationCode;

  /**
   * 库位描述
   */
  private String storageLocationText;

  /**
   * 仓库编号
   */
  private String warehouseCode;

  /**
   * 仓库描述
   */
  private String warehouseText;

  /**
   * 物料类型编号
   */
  private String materialTypeCode;

  /**
   * 物料类型描述
   */
  private String materialTypeText;

  /**
   * 物料编号
   */
  private String materialCode;

  /**
   * 物料描述
   */
  private String materialText;

  /**
   * 锁定标记
   */
  private Integer lockFlag;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getUserCode() {
    return StringUtils.upperCase(userCode);
  }

  public void setUserCode(String userCode) {
    this.userCode = userCode;
  }

  public String getUserText() {
    return userText;
  }

  public void setUserText(String userText) {
    this.userText = userText;
  }

  public String getStorageLocationCode() {
    return StringUtils.upperCase(storageLocationCode);
  }

  public void setStorageLocationCode(String storageLocationCode) {
    this.storageLocationCode = storageLocationCode;
  }

  public String getStorageLocationText() {
    return storageLocationText;
  }

  public void setStorageLocationText(String storageLocationText) {
    this.storageLocationText = storageLocationText;
  }

  public String getWarehouseCode() {
    return StringUtils.upperCase(warehouseCode);
  }

  public void setWarehouseCode(String warehouseCode) {
    this.warehouseCode = warehouseCode;
  }

  public String getWarehouseText() {
    return warehouseText;
  }

  public void setWarehouseText(String warehouseText) {
    this.warehouseText = warehouseText;
  }

  public String getMaterialTypeCode() {
    return StringUtils.upperCase(materialTypeCode);
  }

  public void setMaterialTypeCode(String materialTypeCode) {
    this.materialTypeCode = materialTypeCode;
  }

  public String getMaterialTypeText() {
    return materialTypeText;
  }

  public void setMaterialTypeText(String materialTypeText) {
    this.materialTypeText = materialTypeText;
  }

  public String getMaterialCode() {
    return StringUtils.upperCase(materialCode);
  }

  public void setMaterialCode(String materialCode) {
    this.materialCode = materialCode;
  }

  public String getMaterialText() {
    return materialText;
  }

  public void setMaterialText(String materialText) {
    this.materialText = materialText;
  }

  public Integer getLockFlag() {
    return lockFlag;
  }

  public void setLockFlag(Integer lockFlag) {
    this.lockFlag = lockFlag;
  }

}
